|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.runtime.Scope
org.eclipse.vtp.framework.engine.runtime.Process
public class Process
Implementation of the process scope and context.
| Nested Class Summary | |
|---|---|
protected class |
Process.Context
Implementation of the generic context. |
| Field Summary | |
|---|---|
protected Blueprint |
blueprint
The process blueprint. |
protected Process.Context |
context
The generic context implementation. |
| Constructor Summary | |
|---|---|
Process(Blueprint blueprint,
IProcessDescriptor descriptor)
Creates a new Process. |
|
| Method Summary | |
|---|---|
ISession |
createSession(ISessionDescriptor descriptor)
Creates a new process engine session from the specified descriptor. |
java.lang.String |
getProcessID()
Returns the ID of this process. |
protected java.util.Collection |
getServices(java.lang.String identifier)
|
protected java.lang.Object[] |
lookupAllInScope(java.lang.String identifier)
|
java.lang.Object[] |
lookupAllServices(java.lang.String identifier)
Returns an array containing all the services registered under the specified identifier. |
protected java.lang.Object |
lookupInScope(java.lang.String identifier)
|
java.lang.Object |
lookupService(java.lang.String identifier)
Looks up the service selected for the specified identifier or null if no such service exists. |
| Methods inherited from class org.eclipse.vtp.framework.engine.runtime.Scope |
|---|
getServiceInstance, registerImplicitServices |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Blueprint blueprint
protected final Process.Context context
| Constructor Detail |
|---|
public Process(Blueprint blueprint,
IProcessDescriptor descriptor)
throws java.lang.NullPointerException
blueprint - The process blueprint.descriptor - The process descriptor.
java.lang.NullPointerException - If the supplied blueprint is null.
java.lang.NullPointerException - If the supplied descriptor is
null.| Method Detail |
|---|
protected java.lang.Object lookupInScope(java.lang.String identifier)
lookupInScope in class Scopeprotected java.lang.Object[] lookupAllInScope(java.lang.String identifier)
lookupAllInScope in class Scopeprotected java.util.Collection getServices(java.lang.String identifier)
getServices in class Scopepublic java.lang.String getProcessID()
IProcess
getProcessID in interface IProcess
public java.lang.Object lookupService(java.lang.String identifier)
throws java.lang.NullPointerException
IProcessnull if no such service exists.
lookupService in interface IProcessidentifier - The identifier of the service to look up.
null if no such service exists.
java.lang.NullPointerException - If the supplied identifier is
null.
public java.lang.Object[] lookupAllServices(java.lang.String identifier)
throws java.lang.NullPointerException
IProcess
lookupAllServices in interface IProcessidentifier - The identifier of the services to look up.
java.lang.NullPointerException - If the supplied identifier is
null.
public ISession createSession(ISessionDescriptor descriptor)
throws java.lang.NullPointerException
IProcess
createSession in interface IProcessdescriptor - The descriptor of the session to create.
java.lang.NullPointerException - If the specified descriptor is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||